const runtime._Gscan
51 uses
runtime (current package)
mgcmark.go#L905: if readgstatus(gp)&_Gscan == 0 {
mgcmark.go#L910: switch readgstatus(gp) &^ _Gscan {
mprof.go#L1340: if readgstatus(gp1)&^_Gscan == _Gleaked {
panic.go#L1641: if status&^_Gscan != _Grunning || gp.syscallsp != 0 {
preempt.go#L126: if s&_Gscan != 0 {
preempt.go#L168: if !castogscanstatus(gp, s, s|_Gscan) {
preempt.go#L271: case _Grunnable | _Gscan,
preempt.go#L272: _Gwaiting | _Gscan,
preempt.go#L273: _Gleaked | _Gscan,
preempt.go#L274: _Gsyscall | _Gscan:
preempt.go#L275: casfrom_Gscanstatus(gp, s, s&^_Gscan)
preempt.go#L290: return mp.locks == 0 && mp.mallocing == 0 && mp.preemptoff == "" && mp.p.ptr().status == _Prunning && mp.curg != nil && readgstatus(mp.curg)&^_Gscan != _Gsyscall
preempt.go#L371: return (gp.preempt || gp.m.p != 0 && gp.m.p.ptr().preempt) && readgstatus(gp)&^_Gscan == _Grunning
proc.go#L1125: if status&^_Gscan != _Gwaiting {
proc.go#L1231: if newval == oldval&^_Gscan {
proc.go#L1253: if newval == oldval|_Gscan {
proc.go#L1278: if (oldval&_Gscan != 0) || (newval&_Gscan != 0) || oldval == newval {
proc.go#L1413: if old != _Grunning || new != _Gscan|_Gpreempted {
proc.go#L1417: for !gp.atomicstatus.CompareAndSwap(_Grunning, _Gscan|_Gpreempted) {
proc.go#L3265: if status&^_Gscan != _Grunnable {
proc.go#L4311: if status&^_Gscan != _Grunning {
proc.go#L4370: if status&^_Gscan != _Grunning {
proc.go#L4395: casGToPreemptScan(gp, _Grunning, _Gscan|_Gpreempted)
proc.go#L4428: casfrom_Gscanstatus(gp, _Gscan|_Gpreempted, _Gpreempted)
proc.go#L6412: switch s &^ _Gscan {
proc.go#L6775: status := readgstatus(gp) &^ _Gscan
proc.go#L6784: if !castogscanstatus(gp, status, status|_Gscan) {
proc.go#L6790: casfrom_Gscanstatus(gp, status|_Gscan, status)
proc.go#L6835: casfrom_Gscanstatus(s.gp, s.status|_Gscan, s.status)
proc.go#L6875: if readgstatus(gp)&^_Gscan == _Gsyscall {
proc.go#L7674: if gp := mp.curg; gp == nil || readgstatus(gp)&^_Gscan != _Gsyscall {
runtime2.go#L112: _Gscan = 0x1000
runtime2.go#L113: _Gscanrunnable = _Gscan + _Grunnable // 0x1001
runtime2.go#L114: _Gscanrunning = _Gscan + _Grunning // 0x1002
runtime2.go#L115: _Gscansyscall = _Gscan + _Gsyscall // 0x1003
runtime2.go#L116: _Gscanwaiting = _Gscan + _Gwaiting // 0x1004
runtime2.go#L117: _Gscanpreempted = _Gscan + _Gpreempted // 0x1009
runtime2.go#L118: _Gscanleaked = _Gscan + _Gleaked // 0x100a
runtime2.go#L119: _Gscandeadextra = _Gscan + _Gdeadextra // 0x100b
signal_unix.go#L774: if crashing.Load() > 0 && gp != mp.curg && mp.curg != nil && readgstatus(mp.curg)&^_Gscan == _Grunning {
stack.go#L1247: if readgstatus(gp)&^_Gscan == _Gwaiting && gp.waitreason.isWaitingForSuspendG() {
stack.go#L1261: if s := readgstatus(gp); s&_Gscan == 0 {
trace.go#L529: ug.status = readgstatus(s.g) &^ _Gscan
traceback.go#L841: if readgstatus(gp)&^_Gscan == _Gsyscall {
traceback.go#L1220: isScan := gpstatus&_Gscan != 0
traceback.go#L1221: gpstatus &^= _Gscan // drop the scan bit
traceback.go#L1340: if gp.m != getg().m && readgstatus(gp)&^_Gscan == _Grunning && gp.syscallsp == 0 {
tracestack.go#L46: if status&_Gscan == 0 {
tracestatus.go#L70: if w.mp.p.ptr() == pp && w.mp.curg != nil && readgstatus(w.mp.curg)&^_Gscan == _Gsyscall {
tracestatus.go#L117: switch status &^ _Gscan {
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |